home *** CD-ROM | disk | FTP | other *** search
/ Aminet 50 / Aminet 50 (2002)(GTI - Schatztruhe)[!][Aug 2002].iso / Aminet / util / misc / sss.lha / sss / do next >
AmigaDOS Script File  |  2002-05-20  |  553b  |  31 lines

  1. .key LIST/S
  2.  
  3. ;if you call this script argument "LIST", the source produced by ESA will not
  4. ;be deleted (comments will be included)
  5.  
  6. Set ESA ESA
  7. Set ASM PhxAss
  8. Set EXE sss
  9. Set OPT TO
  10.  
  11. ;ESA = ESA executable path
  12. ;ASM = your assembler's executable path
  13. ;EXE = name of the executable produced by the assembler
  14. ;OPT = option accepted by your assembler to specify EXE
  15.  
  16. Failat 1
  17.  
  18. If <LIST>
  19.   $ESA r cod/main.esa
  20.   $ASM cod/main.s $OPT $EXE
  21. Else
  22.   $ESA cod/main.esa
  23.   $ASM cod/main.s $OPT $EXE
  24.   Delete cod/main.s
  25. EndIf
  26.  
  27. Unset OPT
  28. Unset EXE
  29. Unset ASM
  30. Unset ESA
  31.